import 'package:flutter/material.dart';
import 'package:x3_base_core/x3_base_core.dart';

class AdvancedFilterInputSearchModel {
  String inputApi;
  String childSearchKey;
  String childOnlyKey;
  String childOnlyValue;
  BaseHttpMethodEnum method;
  bool isPaging;
  bool notNeedSearch;
  Map<String, dynamic> params;
  Widget Function(Map<String, dynamic> item, bool isSelect) childSearchItem;

  AdvancedFilterInputSearchModel({@required this.inputApi, @required this.childOnlyKey, @required this.childOnlyValue, this.params, this.method = BaseHttpMethodEnum.POST, this.childSearchItem, this.childSearchKey = "searchKey",this.isPaging = true, this.notNeedSearch = false});
}
